package com.tlgen.mapper;

import com.tlgen.model.Assist;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @author: tlgen
 * @Discription:
 */
public interface AssistMapper {

    public List<Assist> getAllAssists();

    Integer insertSelective(Assist assist);

    Integer updateByPrimaryKeySelective(Assist assist);

    Integer deleteByPrimaryKey(Integer id);

    Integer deleteAssistByIds(@Param("ids") Integer[] ids);

    List<Assist> getAssistByPageWithSalary(@Param("page") Integer page, @Param("size") Integer size);

    Integer updateAssistSalaryById(@Param("aid") Integer aid, @Param("sid") Integer sid);

    Long getTotal(@Param("a") Assist assist);
}
